package application.controller 
{
	import application.view.ApplicationMediator;
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	/**
	 * ...
	 * @author Ning
	 */
	public class ViewPrepCommand extends SimpleCommand
	{
		
		override public function execute(notification:INotification):void 
		{
			var app:Application = notification.getBody() as Application;
			facade.registerMediator(new ApplicationMediator(app));
		}
	}
}